import request from '@/utils/request'

//注册接口-虽然用不到
export const userRegisterService = ({ username, password, repassword }) => request.post('/admin/register', { username, password, repassword })

//登录接口
export const userLoginService = ({ username, password }) => request.post('/admin/login', { username, password })

//获取用户基本信息
export const userGetInfoService = () => request.get('/admin/info')